package com.ls.controller.banner.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName SortBannerModel
 * @Description 轮播图排序model
 * @Author pengyu
 * @Date 2024/6/27 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SortBannerModel {
    /** 轮播图id */
    @NotNull(message = "轮播图id不得为空")
    private Long bannerId;
    @NotNull(message = "排序不得为空")
    private Integer sort;
}
